@extends('home.seller.layout.index')

@section('content')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span>店铺修改</span>
        </div>
        <div class="mws-panel-body no-padding">
        	<form class="mws-form" action="/home/seller/store/update?id={{ $data['id'] }}" method="post">
                {{ csrf_field() }}
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">店铺名称</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name="name" value="{{ $data['name'] }}">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">申请人真实姓名</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name="uname" value="{{ $data['uname'] }}（不能修改）" disabled>
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">手机号</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name="phone" value="{{ $data['phone'] }}">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">邮箱</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name="email" value="{{ $data['email'] }}">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">所属地</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name="address" value="{{ $data['address'] }}">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">店铺类型</label>
        				<div class="mws-form-item">
        					<input type="text" class="small" name='type' value="{{ $data['type'] }}（不能修改）" disabled>
        				</div>
        			</div>
        		</div>
        		<div class="mws-button-row">
                    <button type="submit" class="btn btn-info" onclick="return confirm('你确定要修改店铺信息吗？')">修改</button>　
                    <button type="reset" class="btn btn-danger">重置</button>
        		</div>
        	</form>
        </div>    	
    </div>
@endsection